<#include "../../layout/dlgLayout.ftl">
<link href="/static/module/add1.css" rel="stylesheet">
<@layout>
<form class="layui-form layout-form" action="/tMatter/approvalUpdate?applyNum=${param.applyNum!''}">
    <div class="layui-form-item">
        <label class="layui-form-label">审核状态</label>
        <div class="layui-input-block">
            <select name="result" lay-filter="aihao">
                <option value="2" selected>审核通过</option>
                <option value="3">审核不通过</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">原因</label>
        <div class="layui-input-block">
            <textarea placeholder="请输入内容" name="auditOpinion" class="layui-textarea"></textarea>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="submit-btn-area">
            <button type="submit" class="layui-btn" style="border-radius: 5px">确认</button>
            <button type="button" class="layui-btn layui-btn-primary" onclick="onClose()" style="border-radius: 5px">取消</button>
        </div>
    </div>
</form>
<script>
        layui.use(['form', 'global', 'jquery.form.min'], function () {
        	var form = layui.form, $ = layui.$;
            form.render();
        	$('.layui-form').ajaxForm({
                success: function (data) {
                    if (data.success == true) {
                    	window.location.reload()
                    }
                }
            });
        	window.onClose = function () {
                layer.closeAll();
            };
        })
    </script>
</@layout>